<div class="form">


    <?php
    $form = $this->beginWidget('GxActiveForm', array(
        'id' => 'class-schedule-form',
        'enableAjaxValidation' => false,
            ));
    ?>

    <p class="note">
<?php echo Yii::t('app', 'Fields with'); ?> <span class="required">*</span> <?php echo Yii::t('app', 'are required'); ?>.
    </p>

<?php echo $form->errorSummary($model); ?>

    <div class="row">
        <div class="rowLabel"><?php echo $form->labelEx($model, 'name'); ?>
        </div>
        <div class="rowControl"><?php echo $form->textField($model, 'name', array('class' => 'input-xlarge')); ?>
<?php echo $form->error($model, 'name'); ?>
        </div><!-- row -->
    </div>

    <div class="row">
        <div class="rowLabel"><?php echo $form->labelEx($model, 'status'); ?>
        </div>
        <div class="rowControl"><?php echo $form->textField($model, 'status'); ?>
<?php echo $form->error($model, 'status'); ?>
        </div><!-- row -->
    </div>

    <div class="row">
        <div class="rowLabel"><?php echo $form->labelEx($model, 'create_time'); ?>
        </div>
        <div class="rowControl"><?php echo $form->textField($model, 'create_time'); ?>
<?php echo $form->error($model, 'create_time'); ?>
        </div><!-- row -->
    </div>

    <div class="row">
        <div class="rowLabel"><?php echo $form->labelEx($model, 'update_time'); ?>
        </div>
        <div class="rowControl"><?php echo $form->textField($model, 'update_time'); ?>
<?php echo $form->error($model, 'update_time'); ?>
        </div><!-- row -->
    </div>




    <div class="row"><div class="rowLabel"><label><?php echo GxHtml::encode($model->getRelationLabel('classTimes:')); ?>
            </label></div>
        <div class="rowControl">	<?php echo $form->checkBoxList($model, 'classTimes', GxHtml::encodeEx(GxHtml::listDataEx(ClassTime::model()->findAllAttributes(null, true)), false, true)); ?>
        </div>
    </div>

    <div class="row">
        <?php
        echo GxHtml::submitButton(Yii::t('app', 'Save'));
        $this->endWidget();
        ?>
    </div>
</div>
<!-- form -->
